ExamPlay Light Logo
Pierakstīties

Computer Science for IGCSE & O level - Programming (Section 11 - No. 46)

What is the purpose of a 'function' in programming?
To assign values to variables.
To create a reusable block of code that performs a specific task.
To compile the program.
To run the program's user interface.

Paskaidrojums

Functions encapsulate a set of instructions to achieve a specific outcome.

komentāri (0)

Piesakieties, lai komentētu
Reklāma
BrainBehindX Inc Logo
©2026; Powered by BrainBehindX Inc